@echo off
cd /d "g:\rb\movie_tools"
echo ================================================
echo 启动 Tauri 开发环境 (Windows SDK 配置)
echo ================================================

echo 1. 设置环境变量...
set INCLUDE=G:\tools\vs2022\VC\Tools\MSVC\14.41.34120\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared;C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt
set LIB=G:\tools\vs2022\VC\Tools\MSVC\14.41.34120\lib\x64;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\um\x64;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.22621.0\ucrt\x64
set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10
set WindowsSDKVersion=10.0.22621.0\
set VCINSTALLDIR=G:\tools\vs2022\VC
set VCToolsInstallDir=G:\tools\vs2022\VC\Tools\MSVC\14.41.34120

echo 2. 显示当前环境变量...
echo INCLUDE: %INCLUDE%
echo LIB: %LIB%
echo WindowsSdkDir: %WindowsSdkDir%
echo WindowsSDKVersion: %WindowsSDKVersion%

echo 3. 启动 pnpm tauri:dev...
echo ================================================
pnpm tauri:dev